import http from '@/utils/request'
import { base } from '@/config'
const baseUrl = base.user + '/integralStintDesc'

// 参数设置模块
const parmaSetting = {
  // 获取参数设置
  getSetting: () => {
    return http.get(`${baseUrl}/get`)
  },

  // 修改参数设置
  editSetting: data => {
    return http.postJson(`${baseUrl}/edit`, data)
  }
}

export default parmaSetting
